home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / cmserrorhandling.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-03-23  |  791 b   |  27 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef CMSERRORHANDLING_H
  8. #define CMSERRORHANDLING_H
  9.  
  10. #include <setjmp.h>
  11.  
  12. /*!
  13. \brief Jump buffer used by cmsErrorHandler, must be set with the setjmp() function
  14. *      before cmsErrorHandler may be called
  15. */
  16. extern jmp_buf cmsJumpBuffer;
  17.  
  18. /*!
  19. \brief Simple error handler for use in conjunction with littlecms
  20. \param ErrorCode error code issued by little cms
  21. \param ErrorText error message corresponding to the error code
  22. */
  23. int    cmsErrorHandler(int ErrorCode, const char *ErrorText);
  24.  
  25. #endif
  26.  
  27.